package com.book.service;

import com.book.entity.BookCart;
import com.book.vo.CartVo;

import java.util.List;

public interface CartService {
    //添加购物车
    int addToCart(BookCart bookCart) throws Exception;
    
    List<CartVo> findCartByUserId(Integer userId) throws Exception;
    
    int findCartCountByUserId(Integer userId) throws Exception;
}
